package com.arpgalaxy.spring.boot.autoconfigure.shiro;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author arpgalaxy
 * @date 2021/4/11
 * @email 13605560342@163.com
 * @description
 */
@ConfigurationProperties(prefix = "arpgalaxy.shiro.autoconfigure")
public class ArpgalaxyShiroProperties {
    private String enable;
    //url忽略列表，不经过shiro权限验证
    private List<String> urlIgnoreList;
    //登录url，必须配置，否则无法识别路径进行shiro 的subject.login,也就无法获取认证信息
    private String login;

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public List<String> getUrlIgnoreList() {
        return urlIgnoreList;
    }

    public void setUrlIgnoreList(List<String> urlIgnoreList) {
        this.urlIgnoreList = urlIgnoreList;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }
}
